package com.mdata.model.dto.wechat.result;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 创建部门
 * 调试工具
 *
 * 请求方式：POST（HTTPS）
 * 请求地址：https://qyapi.weixin.qq.com/cgi-bin/department/create?access_token=ACCESS_TOKEN
 *
 *     {
 *        "errcode": 0,
 *        "errmsg": "created",
 *        "id": 2
 *     }
 */
@Data
@ToString(callSuper = true)
public class DepartmentCreateResult extends WeChatBaseResult {

    @JsonProperty(value = "id")
    private Integer id;
}
